#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

size_t MY_Strlen(const char* str);

int main()
{
	char arr[] = { "abcdefg" };
	printf("%d\n", MY_Strlen(arr));
	return 0;
}

size_t MY_Strlen(const char* str)
{
	size_t count = 0;
	while (*str++)
	{
		count++;
	}
	return count;
}